package com.cait.dutyfree.pojo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "complains")
public class Complain {
	private Integer id;
	private String ordnum;
	private String cmpldetls;
	private String email;
	private String solution;
	private Boolean status;// -1 pending 0 resolved
	private String cusname;
	private String date;

	// private LoginUser user;

	public void setId(Integer id) {
		this.id = id;
	}

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Integer getId() {
		return id;
	}

	public void setOrdnum(String ordnum) {
		this.ordnum = ordnum;
	}

	public String getOrdnum() {
		return ordnum;
	}

	public void setCmpldetls(String cmpldetls) {
		this.cmpldetls = cmpldetls;
	}

	public String getCmpldetls() {
		return cmpldetls;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return email;
	}

	public void setSolution(String solution) {
		this.solution = solution;
	}

	public String getSolution() {
		return solution;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public Boolean getStatus() {
		return status;
	}

	public void setCusname(String cusname) {
		this.cusname = cusname;
	}

	public String getCusname() {
		return cusname;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getDate() {
		return date;
	}

}
